import 'package:freezed_annotation/freezed_annotation.dart';

part 'picture_detail_model.freezed.dart';
part 'picture_detail_model.g.dart';

@freezed
class PictureDetailModel with _$PictureDetailModel {
  factory PictureDetailModel({
    bool? canWatch,
    String? coverImg,
    int? fakeWatchTimes,
    List<String>? imgList,
    int? imgNum,
    int? picType,
    int? portrayPicId,
    int? price,
    int? reasonType,
    bool? recommend,
    String? title,
  }) = _PictureDetailModel;

  factory PictureDetailModel.fromJson(Map<String, dynamic> json) =>
      _$PictureDetailModelFromJson(json);
}
